﻿using System.Collections.Generic;
using System.Web.Mvc;
using ControleRepresentante.Logic;
using ControleRepresentante.Logic.Models;
using WebSite.ViewModels.Fields;
using WebSite.ViewModels.IndexViewModels;

namespace WebSite.ViewModels.ViewModelExtensions.IndexViewModelExtensions
{
    public interface IIndexViewModelExtension
    {
        IEnumerable<IField> GetSearchFields();
        bool CanEditSpecific(ModelBase modelBase);
        bool CanDeleteSpecific(ModelBase modelBase);
        void RegisterColumns(IndexColumnDefinitionsCollection indexColumnDefinitionsCollection, IIndexColumnsProvider indexColumnsProvider);
        IEnumerable<TabItem> GetTabs(HtmlHelper htmlHelper);
    }
}